package com.mxpio.erp.common.exception;

import com.mxpio.erp.common.enums.BizExceptionEnums;
import com.mxpioframework.common.exception.MBootException;

public class BizException extends MBootException {

    public BizException(String message) {
        super(message);
    }

    public BizException(BizExceptionEnums enums, String source) {
        super(String.format(enums.getMsg(), source));
    }


    public BizException(BizExceptionEnums enums) {
        super(enums.getMsg());
    }
}
